package org.devops

def build(buildType, buildCmd) {
    tools = new Tools()
    sh """ ${buildType} -v """
    tools.printColor("构建命令: ${buildType} ${buildCmd}", "green")
    sh """ ${buildType} ${buildCmd} """
}
